翻訳と辞書 |
Phase distinction : ウィキペディア英語版 | Phase distinction Phase Distinction is a property of programming languages that observe a strict division between types and terms. A concise rule for determining whether phase distinction is preserved in a language or not has been proposed by Luca Cardelli - ''If A is a compile-time term and B is a subterm of A, then B must also be a compile-time term.'' Most strongly typed languages conform to the principle of phase distinction. However, some languages with especially flexible and expressive type systems (notably dependently typed programming languages) allow types to be manipulated in the same ways as regular terms. They may be passed to functions or returned as results. A language with phase distinction may have separate namespaces for types and run-time variables. In an optimizing compiler, phase distinction marks the boundary between expressions which are safe to erase. ==Theory== Phase distinction is used in conjunction with static checking. By using a calculus based system, phase distinction removes the need to enforce linear logic between different types and terms of programming.〔(【引用サイトリンク】url=http://ttic.uchicago.edu/~pl/classes/CMSC336-Winter08/lectures/lec7.pdf )〕
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Phase distinction」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|